// IDE_UCW.H
#ifndef _IDE_UCW_H
#define _IDE_UCW_H
#include "ucw_int.h"

class IDE {
private:
    UCW* m_ucw;
public:
  IDE(UCW* ucw);
  int compile(string file);
  int run(string args);
  void set_working_dir(string dir);
  void single_step(bool step_over);
  void stop_program();

  int set_breakpoint(string file, int& line, bool is_persist);

// has two uses: if called with n = 0, will return the number of
// breakpoints defined in this file.  Otherwise it expects a list
// of lines to set.
  int breakpoint_list(string file, int line[]=NULL, int n=0);
};

#endif
